<!-- angular通过ng-modal添加模态框时，不需要外层的div，只需从modal-content开始即可 -->
<div class="modal-content">
    <div class="modal-header">
        <h3 class="modal-title">新建节点字典项</h3>
    </div>
    <form name="form" class="modal-body form-horizontal">
        <div class="form-group">
            <label class="col-sm-2 control-label">标题：</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" placeholder="请输入节点标题..." ng-model="legend.title" required>
            </div>
        </div>
        <div class="line-lg pull-in" style="margin-top: 8px;margin-bottom: 8px;"></div>
        <div class="form-group">
            <label class="col-sm-2 control-label">所属流程：</label>
            <div class="col-sm-10">
                <m-ui-select prompt="请选择所属流程"
                             itme-list="flowData"
                             selected-item="sltFlowItem">
                </m-ui-select>
            </div>
        </div>
        <div class="line-lg pull-in" style="margin-top: 8px;margin-bottom: 8px;"></div>
        <div class="form-group">
            <label class="col-sm-2 control-label">类型：</label>
            <div class="col-sm-10">
                <m-ui-select prompt="请选择节点类型"
                             itme-list="flowLegendType"
                             selected-item="sltLegendType">
                </m-ui-select>
            </div>
        </div>
        <div class="line-lg pull-in" style="margin-top: 8px;margin-bottom: 8px;"></div>
        <div class="form-group">
            <label class="col-sm-2 control-label">产品：</label>
            <div class="col-sm-10">
                <m-ui-select prompt="请选择所属产品"
                             itme-list="flowLegendSys"
                             selected-item="sltLegendSys"
                             select-item-fun="selectLegendSysItem(item)">
                </m-ui-select>
            </div>
        </div>
        <div class="line-lg pull-in" style="margin-top: 8px;margin-bottom: 8px;"></div>
        <div class="form-group">
            <label class="col-sm-2 control-label">设置UI路径：</label>
            <div class="col-sm-5 radio">
                <label>
                    <input type="radio" name="optionsRadios" value="false" ng-model="legend.radioStatus" checked>
                    不设置
                </label>
            </div>
            <div class="col-sm-5 radio">
                <label>
                    <input type="radio" name="optionsRadios" value="true" ng-model="legend.radioStatus">
                    设置
                </label>
            </div>
        </div>
        <div class="line-lg pull-in" ng-show="legend.radioStatus == 'true'"></div>
        <div class="form-group" ng-show="legend.radioStatus == 'true'">
            <label class="col-sm-2 control-label">UI路径：</label>
            <div class="col-sm-10">
                <m-ui-select prompt="请选择UI路径"
                             itme-list="flowLegendPath"
                             selected-item="sltLegendPath"
                             select-item-fun="selectLegendPathItem(item)">
                </m-ui-select>
            </div>
        </div>
        <div class="line-lg pull-in" ng-show="legend.radioStatus == 'true'"></div>
        <div class="form-group" ng-show="legend.radioStatus == 'true'">
            <label class="col-sm-2 control-label">功能点：</label>
            <div class="col-sm-10">
                <m-ui-select prompt="请选择功能点"
                             itme-list="flowLegendFeature"
                             selected-item="sltLegendFeature"
                             select-item-fun="selectFlowItem(item)">
                </m-ui-select>
            </div>
        </div>
    </form>
    <div class="modal-footer">
        <button type="button" class="btn btn-primary" ng-click="createClick()">确定</button>
        <button type="button" class="btn btn-default" data-dismiss="modal" ng-click="cancelClick()">取消</button>
    </div>
</div>
